As they are only used by gstreamer for gst-inspect & other tools.
Projects like Mutter/gtk have completely dropped them as well, so follow
their path
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>
GTypeFlags: GObject.TypeFlags.ABSTRACT,
Properties: {
'operator-name': GObject.ParamSpec.string(
- 'operator-name', 'operator-name', 'operator-name',
+ 'operator-name', null, null,
GObject.ParamFlags.READABLE,
null),
'signal-quality': GObject.ParamSpec.int(
- 'signal-quality', 'signal-quality', 'signal-quality',
+ 'signal-quality', null, null,
GObject.ParamFlags.READABLE,
0, 100, 0),
},
export const BroadbandModem = GObject.registerClass({
Properties: {
'capabilities': GObject.ParamSpec.flags(
- 'capabilities', 'capabilities', 'capabilities',
+ 'capabilities', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
NM.DeviceModemCapabilities.$gtype,
NM.DeviceModemCapabilities.NONE),
const SystemActions = GObject.registerClass({
Properties: {
'can-power-off': GObject.ParamSpec.boolean(
- 'can-power-off', 'can-power-off', 'can-power-off',
+ 'can-power-off', null, null,
GObject.ParamFlags.READABLE,
false),
'can-restart': GObject.ParamSpec.boolean(
- 'can-restart', 'can-restart', 'can-restart',
+ 'can-restart', null, null,
GObject.ParamFlags.READABLE,
false),
'can-suspend': GObject.ParamSpec.boolean(
- 'can-suspend', 'can-suspend', 'can-suspend',
+ 'can-suspend', null, null,
GObject.ParamFlags.READABLE,
false),
'can-lock-screen': GObject.ParamSpec.boolean(
- 'can-lock-screen', 'can-lock-screen', 'can-lock-screen',
+ 'can-lock-screen', null, null,
GObject.ParamFlags.READABLE,
false),
'can-switch-user': GObject.ParamSpec.boolean(
- 'can-switch-user', 'can-switch-user', 'can-switch-user',
+ 'can-switch-user', null, null,
GObject.ParamFlags.READABLE,
false),
'can-logout': GObject.ParamSpec.boolean(
- 'can-logout', 'can-logout', 'can-logout',
+ 'can-logout', null, null,
GObject.ParamFlags.READABLE,
false),
'can-lock-orientation': GObject.ParamSpec.boolean(
- 'can-lock-orientation', 'can-lock-orientation', 'can-lock-orientation',
+ 'can-lock-orientation', null, null,
GObject.ParamFlags.READABLE,
false),
'orientation-lock-icon': GObject.ParamSpec.string(
- 'orientation-lock-icon', 'orientation-lock-icon', 'orientation-lock-icon',
+ 'orientation-lock-icon', null, null,
GObject.ParamFlags.READWRITE,
null),
},
export const AppGrid = GObject.registerClass({
Properties: {
'indicators-padding': GObject.ParamSpec.boxed('indicators-padding',
- 'Indicators padding', 'Indicators padding',
+ null, null,
GObject.ParamFlags.READWRITE,
Clutter.Margin.$gtype),
},
GTypeFlags: GObject.TypeFlags.ABSTRACT,
Properties: {
'gesture-modes': GObject.ParamSpec.flags(
- 'gesture-modes', 'gesture-modes', 'gesture-modes',
+ 'gesture-modes', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
Shell.ActionMode, Shell.ActionMode.OVERVIEW),
},
export const BarLevel = GObject.registerClass({
Properties: {
'value': GObject.ParamSpec.double(
- 'value', 'value', 'value',
+ 'value', null, null,
GObject.ParamFlags.READWRITE,
0, 2, 0),
'maximum-value': GObject.ParamSpec.double(
- 'maximum-value', 'maximum-value', 'maximum-value',
+ 'maximum-value', null, null,
GObject.ParamFlags.READWRITE,
1, 2, 1),
'overdrive-start': GObject.ParamSpec.double(
- 'overdrive-start', 'overdrive-start', 'overdrive-start',
+ 'overdrive-start', null, null,
GObject.ParamFlags.READWRITE,
1, 2, 1),
},
GTypeFlags: GObject.TypeFlags.ABSTRACT,
Properties: {
'has-calendars': GObject.ParamSpec.boolean(
- 'has-calendars', 'has-calendars', 'has-calendars',
+ 'has-calendars', null, null,
GObject.ParamFlags.READABLE,
false),
'is-loading': GObject.ParamSpec.boolean(
- 'is-loading', 'is-loading', 'is-loading',
+ 'is-loading', null, null,
GObject.ParamFlags.READABLE,
false),
},
export const MessageDialogContent = GObject.registerClass({
Properties: {
'title': GObject.ParamSpec.string(
- 'title', 'title', 'title',
+ 'title', null, null,
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT,
null),
'description': GObject.ParamSpec.string(
- 'description', 'description', 'description',
+ 'description', null, null,
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT,
null),
export const ListSection = GObject.registerClass({
Properties: {
'title': GObject.ParamSpec.string(
- 'title', 'title', 'title',
+ 'title', null, null,
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT,
null),
export const ListSectionItem = GObject.registerClass({
Properties: {
'icon-actor': GObject.ParamSpec.object(
- 'icon-actor', 'icon-actor', 'Icon actor',
+ 'icon-actor', null, null,
GObject.ParamFlags.READWRITE,
Clutter.Actor.$gtype),
'title': GObject.ParamSpec.string(
- 'title', 'title', 'title',
+ 'title', null, null,
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT,
null),
'description': GObject.ParamSpec.string(
- 'description', 'description', 'description',
+ 'description', null, null,
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT,
null),
export const IconGridLayout = GObject.registerClass({
Properties: {
'allow-incomplete-pages': GObject.ParamSpec.boolean('allow-incomplete-pages',
- 'Allow incomplete pages', 'Allow incomplete pages',
+ null, null,
GObject.ParamFlags.READWRITE,
true),
'column-spacing': GObject.ParamSpec.int('column-spacing',
- 'Column spacing', 'Column spacing',
+ null, null,
GObject.ParamFlags.READWRITE,
0, GLib.MAXINT32, 0),
'columns-per-page': GObject.ParamSpec.int('columns-per-page',
- 'Columns per page', 'Columns per page',
+ null, null,
GObject.ParamFlags.READWRITE,
1, GLib.MAXINT32, 6),
'fixed-icon-size': GObject.ParamSpec.int('fixed-icon-size',
- 'Fixed icon size', 'Fixed icon size',
+ null, null,
GObject.ParamFlags.READWRITE,
-1, GLib.MAXINT32, -1),
'icon-size': GObject.ParamSpec.int('icon-size',
- 'Icon size', 'Icon size',
+ null, null,
GObject.ParamFlags.READABLE,
0, GLib.MAXINT32, 0),
'last-row-align': GObject.ParamSpec.enum('last-row-align',
- 'Last row align', 'Last row align',
+ null, null,
GObject.ParamFlags.READWRITE,
Clutter.ActorAlign.$gtype,
Clutter.ActorAlign.FILL),
'max-column-spacing': GObject.ParamSpec.int('max-column-spacing',
- 'Maximum column spacing', 'Maximum column spacing',
+ null, null,
GObject.ParamFlags.READWRITE,
-1, GLib.MAXINT32, -1),
'max-row-spacing': GObject.ParamSpec.int('max-row-spacing',
- 'Maximum row spacing', 'Maximum row spacing',
+ null, null,
GObject.ParamFlags.READWRITE,
-1, GLib.MAXINT32, -1),
'orientation': GObject.ParamSpec.enum('orientation',
- 'Orientation', 'Orientation',
+ null, null,
GObject.ParamFlags.READWRITE,
Clutter.Orientation.$gtype,
Clutter.Orientation.VERTICAL),
'page-halign': GObject.ParamSpec.enum('page-halign',
- 'Horizontal page align',
- 'Horizontal page align',
+ null, null,
GObject.ParamFlags.READWRITE,
Clutter.ActorAlign.$gtype,
Clutter.ActorAlign.FILL),
'page-padding': GObject.ParamSpec.boxed('page-padding',
- 'Page padding', 'Page padding',
+ null, null,
GObject.ParamFlags.READWRITE,
Clutter.Margin.$gtype),
'page-valign': GObject.ParamSpec.enum('page-valign',
- 'Vertical page align',
- 'Vertical page align',
+ null, null,
GObject.ParamFlags.READWRITE,
Clutter.ActorAlign.$gtype,
Clutter.ActorAlign.FILL),
'row-spacing': GObject.ParamSpec.int('row-spacing',
- 'Row spacing', 'Row spacing',
+ null, null,
GObject.ParamFlags.READWRITE,
0, GLib.MAXINT32, 0),
'rows-per-page': GObject.ParamSpec.int('rows-per-page',
- 'Rows per page', 'Rows per page',
+ null, null,
GObject.ParamFlags.READWRITE,
1, GLib.MAXINT32, 4),
},
const EmojiPager = GObject.registerClass({
Properties: {
'delta': GObject.ParamSpec.int(
- 'delta', 'delta', 'delta',
+ 'delta', null, null,
GObject.ParamFlags.READWRITE,
GLib.MININT32, GLib.MAXINT32, 0),
},
export const MonitorConstraint = GObject.registerClass({
Properties: {
'primary': GObject.ParamSpec.boolean(
- 'primary', 'Primary', 'Track primary monitor',
+ 'primary', null, null,
GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
false),
'index': GObject.ParamSpec.int(
- 'index', 'Monitor index', 'Track specific monitor',
+ 'index', null, null,
GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
-1, 64, -1),
'work-area': GObject.ParamSpec.boolean(
- 'work-area', 'Work-area', 'Track monitor\'s work-area',
+ 'work-area', null, null,
GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
false),
},
const RadialShaderEffect = GObject.registerClass({
Properties: {
'brightness': GObject.ParamSpec.float(
- 'brightness', 'brightness', 'brightness',
+ 'brightness', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 1),
'sharpness': GObject.ParamSpec.float(
- 'sharpness', 'sharpness', 'sharpness',
+ 'sharpness', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 0),
},
export const Lightbox = GObject.registerClass({
Properties: {
'active': GObject.ParamSpec.boolean(
- 'active', 'active', 'active', GObject.ParamFlags.READABLE, false),
+ 'active', null, null, GObject.ParamFlags.READABLE, false),
},
}, class Lightbox extends St.Bin {
/**
const LabelExpanderLayout = GObject.registerClass({
Properties: {
'expansion': GObject.ParamSpec.double(
- 'expansion', 'Expansion', 'Expansion',
+ 'expansion', null, null,
GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
0, 1, 0),
},
export const Source = GObject.registerClass({
Properties: {
'title': GObject.ParamSpec.string(
- 'title', 'title', 'title',
+ 'title', null, null,
GObject.ParamFlags.READWRITE,
null),
'icon': GObject.ParamSpec.object(
- 'icon', 'icon', 'icon',
+ 'icon', null, null,
GObject.ParamFlags.READWRITE,
Gio.Icon),
'icon-name': GObject.ParamSpec.string(
- 'icon-name', 'icon-name', 'icon-name',
+ 'icon-name', null, null,
GObject.ParamFlags.READWRITE,
null),
},
export const Message = GObject.registerClass({
Properties: {
'title': GObject.ParamSpec.string(
- 'title', 'title', 'title',
+ 'title', null, null,
GObject.ParamFlags.READWRITE,
null),
'body': GObject.ParamSpec.string(
- 'body', 'body', 'body',
+ 'body', null, null,
GObject.ParamFlags.READWRITE,
null),
'use-body-markup': GObject.ParamSpec.boolean(
- 'use-body-markup', 'use-body-markup', 'use-body-markup',
+ 'use-body-markup', null, null,
GObject.ParamFlags.READWRITE,
false),
'icon': GObject.ParamSpec.object(
- 'icon', 'icon', 'icon',
+ 'icon', null, null,
GObject.ParamFlags.READWRITE,
Gio.Icon),
'datetime': GObject.ParamSpec.boxed(
- 'datetime', 'datetime', 'datetime',
+ 'datetime', null, null,
GObject.ParamFlags.READWRITE,
GLib.DateTime),
},
export const MessageListSection = GObject.registerClass({
Properties: {
'can-clear': GObject.ParamSpec.boolean(
- 'can-clear', 'can-clear', 'can-clear',
+ 'can-clear', null, null,
GObject.ParamFlags.READABLE,
false),
'empty': GObject.ParamSpec.boolean(
- 'empty', 'empty', 'empty',
+ 'empty', null, null,
GObject.ParamFlags.READABLE,
true),
},
GTypeFlags: GObject.TypeFlags.ABSTRACT,
Properties: {
'enable': GObject.ParamSpec.boolean(
- 'enable', 'enable', 'enable', GObject.ParamFlags.READABLE, true),
+ 'enable', null, null, GObject.ParamFlags.READABLE, true),
'enable-sound': GObject.ParamSpec.boolean(
- 'enable-sound', 'enable-sound', 'enable-sound',
+ 'enable-sound', null, null,
GObject.ParamFlags.READABLE, true),
'show-banners': GObject.ParamSpec.boolean(
- 'show-banners', 'show-banners', 'show-banners',
+ 'show-banners', null, null,
GObject.ParamFlags.READABLE, true),
'force-expanded': GObject.ParamSpec.boolean(
- 'force-expanded', 'force-expanded', 'force-expanded',
+ 'force-expanded', null, null,
GObject.ParamFlags.READABLE, false),
'show-in-lock-screen': GObject.ParamSpec.boolean(
- 'show-in-lock-screen', 'show-in-lock-screen', 'show-in-lock-screen',
+ 'show-in-lock-screen', null, null,
GObject.ParamFlags.READABLE, false),
'details-in-lock-screen': GObject.ParamSpec.boolean(
- 'details-in-lock-screen', 'details-in-lock-screen', 'details-in-lock-screen',
+ 'details-in-lock-screen', null, null,
GObject.ParamFlags.READABLE, false),
},
}, class NotificationPolicy extends GObject.Object {
export const Source = GObject.registerClass({
Properties: {
'count': GObject.ParamSpec.int(
- 'count', 'count', 'count',
+ 'count', null, null,
GObject.ParamFlags.READABLE,
0, GLib.MAXINT32, 0),
'policy': GObject.ParamSpec.object(
- 'policy', 'policy', 'policy',
+ 'policy', null, null,
GObject.ParamFlags.READWRITE,
NotificationPolicy.$gtype),
},
GObject.registerClass({
Properties: {
'source': GObject.ParamSpec.object(
- 'source', 'source', 'source',
+ 'source', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
Source),
'title': GObject.ParamSpec.string(
- 'title', 'title', 'title',
+ 'title', null, null,
GObject.ParamFlags.READWRITE,
null),
'body': GObject.ParamSpec.string(
- 'body', 'body', 'body',
+ 'body', null, null,
GObject.ParamFlags.READWRITE,
null),
'use-body-markup': GObject.ParamSpec.boolean(
- 'use-body-markup', 'use-body-markup', 'use-body-markup',
+ 'use-body-markup', null, null,
GObject.ParamFlags.READWRITE,
false),
'gicon': GObject.ParamSpec.object(
- 'gicon', 'gicon', 'gicon',
+ 'gicon', null, null,
GObject.ParamFlags.READWRITE,
Gio.Icon),
'icon-name': GObject.ParamSpec.string(
- 'icon-name', 'icon-name', 'icon-name',
+ 'icon-name', null, null,
GObject.ParamFlags.READWRITE,
null),
'sound': GObject.ParamSpec.object(
- 'sound', 'sound', 'sound',
+ 'sound', null, null,
GObject.ParamFlags.READWRITE,
Sound),
'datetime': GObject.ParamSpec.boxed(
- 'datetime', 'datetime', 'datetime',
+ 'datetime', null, null,
GObject.ParamFlags.READWRITE,
GLib.DateTime),
// Unfortunately we can't register new enum types in GJS
// See: https://gitlab.gnome.org/GNOME/gjs/-/issues/573
'privacy-scope': GObject.ParamSpec.int(
- 'privacy-scope', 'privacy-scope', 'privacy-scope',
+ 'privacy-scope', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
0, GLib.MAXINT32,
PrivacyScope.User),
'urgency': GObject.ParamSpec.int(
- 'urgency', 'urgency', 'urgency',
+ 'urgency', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
0, GLib.MAXINT32,
Urgency.NORMAL),
'acknowledged': GObject.ParamSpec.boolean(
- 'acknowledged', 'acknowledged', 'acknowledged',
+ 'acknowledged', null, null,
GObject.ParamFlags.READWRITE,
false),
'resident': GObject.ParamSpec.boolean(
- 'resident', 'resident', 'resident',
+ 'resident', null, null,
GObject.ParamFlags.READWRITE,
false),
'for-feedback': GObject.ParamSpec.boolean(
- 'for-feedback', 'for-feedback', 'for-feedback',
+ 'for-feedback', null, null,
GObject.ParamFlags.READWRITE,
false),
'is-transient': GObject.ParamSpec.boolean(
- 'is-transient', 'is-transient', 'is-transient',
+ 'is-transient', null, null,
GObject.ParamFlags.READWRITE,
false),
},
export const ModalDialog = GObject.registerClass({
Properties: {
'state': GObject.ParamSpec.int(
- 'state', 'Dialog state', 'state',
+ 'state', null, null,
GObject.ParamFlags.READABLE,
Math.min(...Object.values(State)),
Math.max(...Object.values(State)),
export const OverviewAdjustment = GObject.registerClass({
Properties: {
'gesture-in-progress': GObject.ParamSpec.boolean(
- 'gesture-in-progress', 'Gesture in progress', 'Gesture in progress',
+ 'gesture-in-progress', null, null,
GObject.ParamFlags.READWRITE,
false),
},
const PadDiagram = GObject.registerClass({
Properties: {
'left-handed': GObject.ParamSpec.boolean(
- 'left-handed', 'left-handed', 'Left handed',
+ 'left-handed', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
false),
'image': GObject.ParamSpec.string(
- 'image', 'image', 'Image',
+ 'image', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
null),
'editor-actor': GObject.ParamSpec.object(
- 'editor-actor', 'editor-actor', 'Editor actor',
+ 'editor-actor', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
Clutter.Actor.$gtype),
},
const WorkspaceDot = GObject.registerClass({
Properties: {
- 'expansion': GObject.ParamSpec.double('expansion', '', '',
+ 'expansion': GObject.ParamSpec.double('expansion', null, null,
GObject.ParamFlags.READWRITE,
0.0, 1.0, 0.0),
'width-multiplier': GObject.ParamSpec.double(
- 'width-multiplier', '', '',
+ 'width-multiplier', null, null,
GObject.ParamFlags.READWRITE,
1.0, 10.0, 1.0),
},
const PieTimer = GObject.registerClass({
Properties: {
'angle': GObject.ParamSpec.double(
- 'angle', 'angle', 'angle',
+ 'angle', null, null,
GObject.ParamFlags.READWRITE,
0, 2 * Math.PI, 0),
},
export const PopupBaseMenuItem = GObject.registerClass({
Properties: {
'active': GObject.ParamSpec.boolean(
- 'active', 'active', 'active',
+ 'active', null, null,
GObject.ParamFlags.READWRITE,
false),
'sensitive': GObject.ParamSpec.boolean(
- 'sensitive', 'sensitive', 'sensitive',
+ 'sensitive', null, null,
GObject.ParamFlags.READWRITE,
true),
},
export const Switch = GObject.registerClass({
Properties: {
'state': GObject.ParamSpec.boolean(
- 'state', 'state', 'state',
+ 'state', null, null,
GObject.ParamFlags.READWRITE,
false),
},
export const QuickSettingsItem = GObject.registerClass({
Properties: {
'has-menu': GObject.ParamSpec.boolean(
- 'has-menu', 'has-menu', 'has-menu',
+ 'has-menu', null, null,
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT_ONLY,
false),
export const QuickToggle = GObject.registerClass({
Properties: {
- 'title': GObject.ParamSpec.string('title', '', '',
+ 'title': GObject.ParamSpec.string('title', null, null,
GObject.ParamFlags.READWRITE,
null),
- 'subtitle': GObject.ParamSpec.string('subtitle', '', '',
+ 'subtitle': GObject.ParamSpec.string('subtitle', null, null,
GObject.ParamFlags.READWRITE,
null),
'icon-name': GObject.ParamSpec.override('icon-name', St.Button),
- 'gicon': GObject.ParamSpec.object('gicon', '', '',
+ 'gicon': GObject.ParamSpec.object('gicon', null, null,
GObject.ParamFlags.READWRITE,
Gio.Icon),
},
export const QuickMenuToggle = GObject.registerClass({
Properties: {
- 'title': GObject.ParamSpec.string('title', '', '',
+ 'title': GObject.ParamSpec.string('title', null, null,
GObject.ParamFlags.READWRITE,
null),
- 'subtitle': GObject.ParamSpec.string('subtitle', '', '',
+ 'subtitle': GObject.ParamSpec.string('subtitle', null, null,
GObject.ParamFlags.READWRITE,
null),
'icon-name': GObject.ParamSpec.override('icon-name', St.Button),
- 'gicon': GObject.ParamSpec.object('gicon', '', '',
+ 'gicon': GObject.ParamSpec.object('gicon', null, null,
GObject.ParamFlags.READWRITE,
Gio.Icon),
'menu-enabled': GObject.ParamSpec.boolean(
- 'menu-enabled', '', '',
+ 'menu-enabled', null, null,
GObject.ParamFlags.READWRITE,
true),
},
export const QuickSlider = GObject.registerClass({
Properties: {
'icon-name': GObject.ParamSpec.override('icon-name', St.Button),
- 'gicon': GObject.ParamSpec.object('gicon', '', '',
+ 'gicon': GObject.ParamSpec.object('gicon', null, null,
GObject.ParamFlags.READWRITE,
Gio.Icon),
'icon-reactive': GObject.ParamSpec.boolean(
- 'icon-reactive', '', '',
+ 'icon-reactive', null, null,
GObject.ParamFlags.READWRITE,
false),
'icon-label': GObject.ParamSpec.string(
- 'icon-label', '', '',
+ 'icon-label', null, null,
GObject.ParamFlags.READWRITE,
''),
'menu-enabled': GObject.ParamSpec.boolean(
- 'menu-enabled', '', '',
+ 'menu-enabled', null, null,
GObject.ParamFlags.READWRITE,
false),
},
const QuickSettingsLayoutMeta = GObject.registerClass({
Properties: {
'column-span': GObject.ParamSpec.int(
- 'column-span', '', '',
+ 'column-span', null, null,
GObject.ParamFlags.READWRITE,
1, GLib.MAXINT32, 1),
},
const QuickSettingsLayout = GObject.registerClass({
Properties: {
'row-spacing': GObject.ParamSpec.int(
- 'row-spacing', 'row-spacing', 'row-spacing',
+ 'row-spacing', null, null,
GObject.ParamFlags.READWRITE,
0, GLib.MAXINT32, 0),
'column-spacing': GObject.ParamSpec.int(
- 'column-spacing', 'column-spacing', 'column-spacing',
+ 'column-spacing', null, null,
GObject.ParamFlags.READWRITE,
0, GLib.MAXINT32, 0),
'n-columns': GObject.ParamSpec.int(
- 'n-columns', 'n-columns', 'n-columns',
+ 'n-columns', null, null,
GObject.ParamFlags.READWRITE,
1, GLib.MAXINT32, 1),
},
export const ScreenshotUI = GObject.registerClass({
Properties: {
'screencast-in-progress': GObject.ParamSpec.boolean(
- 'screencast-in-progress',
- 'screencast-in-progress',
- 'screencast-in-progress',
+ 'screencast-in-progress', null, null,
GObject.ParamFlags.READABLE,
false),
},
const RecolorEffect = GObject.registerClass({
Properties: {
color: GObject.ParamSpec.boxed(
- 'color', 'color', 'replacement color',
+ 'color', null, null,
GObject.ParamFlags.WRITABLE,
Cogl.Color.$gtype),
chroma: GObject.ParamSpec.boxed(
- 'chroma', 'chroma', 'color to replace',
+ 'chroma', null, null,
GObject.ParamFlags.WRITABLE,
Cogl.Color.$gtype),
threshold: GObject.ParamSpec.float(
- 'threshold', 'threshold', 'threshold',
+ 'threshold', null, null,
GObject.ParamFlags.WRITABLE,
0.0, 1.0, 0.0),
smoothing: GObject.ParamSpec.float(
- 'smoothing', 'smoothing', 'smoothing',
+ 'smoothing', null, null,
GObject.ParamFlags.WRITABLE,
0.0, 1.0, 0.0),
},
GTypeFlags: GObject.TypeFlags.ABSTRACT,
Properties: {
'focus-child': GObject.ParamSpec.object(
- 'focus-child', 'focus-child', 'focus-child',
+ 'focus-child', null, null,
GObject.ParamFlags.READABLE,
Clutter.Actor.$gtype),
},
const GridSearchResultsLayout = GObject.registerClass({
Properties: {
- 'spacing': GObject.ParamSpec.int('spacing', 'Spacing', 'Spacing',
+ 'spacing': GObject.ParamSpec.int('spacing', null, null,
GObject.ParamFlags.READWRITE, 0, GLib.MAXINT32, 0),
},
}, class GridSearchResultsLayout extends Clutter.LayoutManager {
export const SearchController = GObject.registerClass({
Properties: {
'search-active': GObject.ParamSpec.boolean(
- 'search-active', 'search-active', 'search-active',
+ 'search-active', null, null,
GObject.ParamFlags.READABLE,
false),
},
const BackgroundAppMenuItem = GObject.registerClass({
Properties: {
- 'app': GObject.ParamSpec.object('app', '', '',
+ 'app': GObject.ParamSpec.object('app', null, null,
GObject.ParamFlags.READWRITE,
Shell.App),
- 'message': GObject.ParamSpec.string('message', '', '',
+ 'message': GObject.ParamSpec.string('message', null, null,
GObject.ParamFlags.READWRITE,
null),
},
const SliderItem = GObject.registerClass({
Properties: {
'value': GObject.ParamSpec.int(
- 'value', '', '',
+ 'value', null, null,
GObject.ParamFlags.READWRITE,
0, 100, 0),
},
const DiscreteItem = GObject.registerClass({
Properties: {
'value': GObject.ParamSpec.int(
- 'value', '', '',
+ 'value', null, null,
GObject.ParamFlags.READWRITE,
0, 100, 0),
'n-levels': GObject.ParamSpec.int(
- 'n-levels', '', '',
+ 'n-levels', null, null,
GObject.ParamFlags.READWRITE,
1, 3, 1),
},
const BtClient = GObject.registerClass({
Properties: {
- 'available': GObject.ParamSpec.boolean('available', '', '',
+ 'available': GObject.ParamSpec.boolean('available', null, null,
GObject.ParamFlags.READABLE,
false),
- 'active': GObject.ParamSpec.boolean('active', '', '',
+ 'active': GObject.ParamSpec.boolean('active', null, null,
GObject.ParamFlags.READABLE,
false),
- 'adapter-state': GObject.ParamSpec.enum('adapter-state', '', '',
+ 'adapter-state': GObject.ParamSpec.enum('adapter-state', null, null,
GObject.ParamFlags.READABLE,
AdapterState, AdapterState.ABSENT),
},
const GeoclueAgent = GObject.registerClass({
Properties: {
'enabled': GObject.ParamSpec.boolean(
- 'enabled', 'Enabled', 'Enabled',
+ 'enabled', null, null,
GObject.ParamFlags.READWRITE,
false),
'in-use': GObject.ParamSpec.boolean(
- 'in-use', 'In use', 'In use',
+ 'in-use', null, null,
GObject.ParamFlags.READABLE,
false),
'max-accuracy-level': GObject.ParamSpec.int(
- 'max-accuracy-level', 'Max accuracy level', 'Max accuracy level',
+ 'max-accuracy-level', null, null,
GObject.ParamFlags.READABLE,
0, 8, 0),
},
const NMMenuItem = GObject.registerClass({
Properties: {
- 'radio-mode': GObject.ParamSpec.boolean('radio-mode', '', '',
+ 'radio-mode': GObject.ParamSpec.boolean('radio-mode', null, null,
GObject.ParamFlags.READWRITE,
false),
- 'is-active': GObject.ParamSpec.boolean('is-active', '', '',
+ 'is-active': GObject.ParamSpec.boolean('is-active', null, null,
GObject.ParamFlags.READABLE,
false),
- 'name': GObject.ParamSpec.string('name', '', '',
+ 'name': GObject.ParamSpec.string('name', null, null,
GObject.ParamFlags.READWRITE,
''),
- 'icon-name': GObject.ParamSpec.string('icon-name', '', '',
+ 'icon-name': GObject.ParamSpec.string('icon-name', null, null,
GObject.ParamFlags.READWRITE,
''),
},
*/
const NMSectionItem = GObject.registerClass({
Properties: {
- 'use-submenu': GObject.ParamSpec.boolean('use-submenu', '', '',
+ 'use-submenu': GObject.ParamSpec.boolean('use-submenu', null, null,
GObject.ParamFlags.READWRITE,
false),
},
const NMDeviceConnectionItem = GObject.registerClass({
Properties: {
- 'device-name': GObject.ParamSpec.string('device-name', '', '',
+ 'device-name': GObject.ParamSpec.string('device-name', null, null,
GObject.ParamFlags.READWRITE,
''),
},
const NMDeviceItem = GObject.registerClass({
Properties: {
- 'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', '', '',
+ 'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', null, null,
GObject.ParamFlags.READWRITE,
false),
},
const WirelessNetwork = GObject.registerClass({
Properties: {
'name': GObject.ParamSpec.string(
- 'name', '', '',
+ 'name', null, null,
GObject.ParamFlags.READABLE,
''),
'icon-name': GObject.ParamSpec.string(
- 'icon-name', '', '',
+ 'icon-name', null, null,
GObject.ParamFlags.READABLE,
''),
'secure': GObject.ParamSpec.boolean(
- 'secure', '', '',
+ 'secure', null, null,
GObject.ParamFlags.READABLE,
false),
'is-active': GObject.ParamSpec.boolean(
- 'is-active', '', '',
+ 'is-active', null, null,
GObject.ParamFlags.READABLE,
false),
'signal-strength': GObject.ParamSpec.uint(
- 'signal-strength', '', '',
+ 'signal-strength', null, null,
GObject.ParamFlags.READABLE,
0),
},
const NMWirelessDeviceItem = GObject.registerClass({
Properties: {
- 'is-hotspot': GObject.ParamSpec.boolean('is-hotspot', '', '',
+ 'is-hotspot': GObject.ParamSpec.boolean('is-hotspot', null, null,
GObject.ParamFlags.READABLE,
false),
- 'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', '', '',
+ 'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', null, null,
GObject.ParamFlags.READWRITE,
false),
},
const RfkillManager = GObject.registerClass({
Properties: {
'airplane-mode': GObject.ParamSpec.boolean(
- 'airplane-mode', '', '',
+ 'airplane-mode', null, null,
GObject.ParamFlags.READWRITE,
false),
'hw-airplane-mode': GObject.ParamSpec.boolean(
- 'hw-airplane-mode', '', '',
+ 'hw-airplane-mode', null, null,
GObject.ParamFlags.READABLE,
false),
'show-airplane-mode': GObject.ParamSpec.boolean(
- 'show-airplane-mode', '', '',
+ 'show-airplane-mode', null, null,
GObject.ParamFlags.READABLE,
false),
},
const PowerToggle = GObject.registerClass({
Properties: {
- 'fallback-icon-name': GObject.ParamSpec.string('fallback-icon-name', '', '',
+ 'fallback-icon-name': GObject.ParamSpec.string('fallback-icon-name', null, null,
GObject.ParamFlags.READWRITE,
''),
},
const TouchpadSwipeGesture = GObject.registerClass({
Properties: {
'enabled': GObject.ParamSpec.boolean(
- 'enabled', 'enabled', 'enabled',
+ 'enabled', null, null,
GObject.ParamFlags.READWRITE,
true),
'orientation': GObject.ParamSpec.enum(
- 'orientation', 'orientation', 'orientation',
+ 'orientation', null, null,
GObject.ParamFlags.READWRITE,
Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
},
const TouchSwipeGesture = GObject.registerClass({
Properties: {
'distance': GObject.ParamSpec.double(
- 'distance', 'distance', 'distance',
+ 'distance', null, null,
GObject.ParamFlags.READWRITE,
0, Infinity, 0),
'orientation': GObject.ParamSpec.enum(
- 'orientation', 'orientation', 'orientation',
+ 'orientation', null, null,
GObject.ParamFlags.READWRITE,
Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
},
const ScrollGesture = GObject.registerClass({
Properties: {
'enabled': GObject.ParamSpec.boolean(
- 'enabled', 'enabled', 'enabled',
+ 'enabled', null, null,
GObject.ParamFlags.READWRITE,
true),
'orientation': GObject.ParamSpec.enum(
- 'orientation', 'orientation', 'orientation',
+ 'orientation', null, null,
GObject.ParamFlags.READWRITE,
Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
'scroll-modifiers': GObject.ParamSpec.flags(
- 'scroll-modifiers', 'scroll-modifiers', 'scroll-modifiers',
+ 'scroll-modifiers', null, null,
GObject.ParamFlags.READWRITE,
Clutter.ModifierType, 0),
},
export const SwipeTracker = GObject.registerClass({
Properties: {
'enabled': GObject.ParamSpec.boolean(
- 'enabled', 'enabled', 'enabled',
+ 'enabled', null, null,
GObject.ParamFlags.READWRITE,
true),
'orientation': GObject.ParamSpec.enum(
- 'orientation', 'orientation', 'orientation',
+ 'orientation', null, null,
GObject.ParamFlags.READWRITE,
Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
'distance': GObject.ParamSpec.double(
- 'distance', 'distance', 'distance',
+ 'distance', null, null,
GObject.ParamFlags.READWRITE,
0, Infinity, 0),
'allow-long-swipes': GObject.ParamSpec.boolean(
- 'allow-long-swipes', 'allow-long-swipes', 'allow-long-swipes',
+ 'allow-long-swipes', null, null,
GObject.ParamFlags.READWRITE,
false),
'scroll-modifiers': GObject.ParamSpec.flags(
- 'scroll-modifiers', 'scroll-modifiers', 'scroll-modifiers',
+ 'scroll-modifiers', null, null,
GObject.ParamFlags.READWRITE,
Clutter.ModifierType, 0),
},
export const WindowPreview = GObject.registerClass({
Properties: {
'overlay-enabled': GObject.ParamSpec.boolean(
- 'overlay-enabled', 'overlay-enabled', 'overlay-enabled',
+ 'overlay-enabled', null, null,
GObject.ParamFlags.READWRITE,
true),
},
export const WorkspaceLayout = GObject.registerClass({
Properties: {
'spacing': GObject.ParamSpec.double(
- 'spacing', 'Spacing', 'Spacing',
+ 'spacing', null, null,
GObject.ParamFlags.READWRITE,
0, Infinity, 20),
'layout-frozen': GObject.ParamSpec.boolean(
- 'layout-frozen', 'Layout frozen', 'Layout frozen',
+ 'layout-frozen', null, null,
GObject.ParamFlags.READWRITE,
false),
},
export const MonitorGroup = GObject.registerClass({
Properties: {
'progress': GObject.ParamSpec.double(
- 'progress', 'progress', 'progress',
+ 'progress', null, null,
GObject.ParamFlags.READWRITE,
-Infinity, Infinity, 0),
},
export const WorkspaceThumbnail = GObject.registerClass({
Properties: {
'collapse-fraction': GObject.ParamSpec.double(
- 'collapse-fraction', 'collapse-fraction', 'collapse-fraction',
+ 'collapse-fraction', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 0),
'slide-position': GObject.ParamSpec.double(
- 'slide-position', 'slide-position', 'slide-position',
+ 'slide-position', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 0),
},
export const ThumbnailsBox = GObject.registerClass({
Properties: {
'expand-fraction': GObject.ParamSpec.double(
- 'expand-fraction', 'expand-fraction', 'expand-fraction',
+ 'expand-fraction', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 1),
'scale': GObject.ParamSpec.double(
- 'scale', 'scale', 'scale',
+ 'scale', null, null,
GObject.ParamFlags.READWRITE,
0, Infinity, 0),
'should-show': GObject.ParamSpec.boolean(
- 'should-show', 'should-show', 'should-show',
+ 'should-show', null, null,
GObject.ParamFlags.READABLE,
true),
},
accel_signal = g_signal_new ("primary-accel-changed", GTK_TYPE_ACTION_MUXER, G_SIGNAL_RUN_LAST,
0, NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
- properties[PROP_PARENT] = g_param_spec_object ("parent", "Parent",
- "The parent muxer",
+ properties[PROP_PARENT] = g_param_spec_object ("parent", NULL, NULL,
GTK_TYPE_ACTION_MUXER,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS);
oclass->set_property = shell_mime_sniffer_set_property;
properties[PROP_FILE] =
- g_param_spec_object ("file",
- "File",
- "The loaded file",
+ g_param_spec_object ("file", NULL, NULL,
G_TYPE_FILE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
* running or not, or transitioning between those states.
*/
props[PROP_STATE] =
- g_param_spec_enum ("state",
- "State",
- "Application state",
+ g_param_spec_enum ("state", NULL, NULL,
SHELL_TYPE_APP_STATE,
SHELL_APP_STATE_STOPPED,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* Whether the application has marked itself as busy.
*/
props[PROP_BUSY] =
- g_param_spec_boolean ("busy",
- "Busy",
- "Busy state",
+ g_param_spec_boolean ("busy", NULL, NULL,
FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* like window:0xabcd1234)
*/
props[PROP_ID] =
- g_param_spec_string ("id",
- "Application id",
- "The desktop file id of this ShellApp",
+ g_param_spec_string ("id", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* The #GIcon representing this ShellApp
*/
props[PROP_ICON] =
- g_param_spec_object ("icon",
- "GIcon",
- "The GIcon representing this app",
+ g_param_spec_object ("icon", NULL, NULL,
G_TYPE_ICON,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* documentation of #GApplication and #GActionGroup for details.
*/
props[PROP_ACTION_GROUP] =
- g_param_spec_object ("action-group",
- "Application Action Group",
- "The action group exported by the remote application",
+ g_param_spec_object ("action-group", NULL, NULL,
G_TYPE_ACTION_GROUP,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* The #GDesktopAppInfo associated with this ShellApp, if any.
*/
props[PROP_APP_INFO] =
- g_param_spec_object ("app-info",
- "DesktopAppInfo",
- "The DesktopAppInfo associated with this app",
+ g_param_spec_object ("app-info", NULL, NULL,
G_TYPE_DESKTOP_APP_INFO,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
effect_class->paint_node = shell_blur_effect_paint_node;
properties[PROP_RADIUS] =
- g_param_spec_int ("radius",
- "Radius",
- "Radius in pixels",
+ g_param_spec_int ("radius", NULL, NULL,
0, G_MAXINT, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
properties[PROP_BRIGHTNESS] =
- g_param_spec_float ("brightness",
- "Brightness",
- "Brightness",
+ g_param_spec_float ("brightness", NULL, NULL,
0.f, 1.f, 1.f,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
properties[PROP_MODE] =
- g_param_spec_enum ("mode",
- "Blur mode",
- "Blur mode",
+ g_param_spec_enum ("mode", NULL, NULL,
SHELL_TYPE_BLUR_MODE,
SHELL_BLUR_MODE_ACTOR,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
object_class->get_property = shell_camera_monitor_get_property;
obj_props[PROP_CAMERAS_IN_USE] =
- g_param_spec_boolean ("cameras-in-use",
- "Cameras in use",
- "Whether any camera is currently used by an app",
+ g_param_spec_boolean ("cameras-in-use", NULL, NULL,
FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
G_TYPE_NONE, 0);
props[PROP_SESSION_MODE] =
- g_param_spec_string ("session-mode",
- "Session Mode",
- "The session mode to use",
+ g_param_spec_string ("session-mode", NULL, NULL,
"user",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
props[PROP_SCREEN_WIDTH] =
- g_param_spec_int ("screen-width",
- "Screen Width",
- "Screen width, in pixels",
+ g_param_spec_int ("screen-width", NULL, NULL,
0, G_MAXINT, 1,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_SCREEN_HEIGHT] =
- g_param_spec_int ("screen-height",
- "Screen Height",
- "Screen height, in pixels",
+ g_param_spec_int ("screen-height", NULL, NULL,
0, G_MAXINT, 1,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_BACKEND] =
- g_param_spec_object ("backend",
- "Backend",
- "MetaBackend object",
+ g_param_spec_object ("backend", NULL, NULL,
META_TYPE_BACKEND,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_CONTEXT] =
- g_param_spec_object ("context",
- "Context",
- "MetaContext object",
+ g_param_spec_object ("context", NULL, NULL,
META_TYPE_CONTEXT,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_DISPLAY] =
- g_param_spec_object ("display",
- "Display",
- "Metacity display object for the shell",
+ g_param_spec_object ("display", NULL, NULL,
META_TYPE_DISPLAY,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_COMPOSITOR] =
- g_param_spec_object ("compositor",
- "Compositor",
- "MetaCompositor object",
+ g_param_spec_object ("compositor", NULL, NULL,
META_TYPE_COMPOSITOR,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_WORKSPACE_MANAGER] =
- g_param_spec_object ("workspace-manager",
- "Workspace manager",
- "Workspace manager",
+ g_param_spec_object ("workspace-manager", NULL, NULL,
META_TYPE_WORKSPACE_MANAGER,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_STAGE] =
- g_param_spec_object ("stage",
- "Stage",
- "Stage holding the desktop scene graph",
+ g_param_spec_object ("stage", NULL, NULL,
CLUTTER_TYPE_ACTOR,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_WINDOW_GROUP] =
- g_param_spec_object ("window-group",
- "Window Group",
- "Actor holding window actors",
+ g_param_spec_object ("window-group", NULL, NULL,
CLUTTER_TYPE_ACTOR,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_TOP_WINDOW_GROUP] =
- g_param_spec_object ("top-window-group",
- "Top Window Group",
- "Actor holding override-redirect windows",
+ g_param_spec_object ("top-window-group", NULL, NULL,
CLUTTER_TYPE_ACTOR,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_WINDOW_MANAGER] =
- g_param_spec_object ("window-manager",
- "Window Manager",
- "Window management interface",
+ g_param_spec_object ("window-manager", NULL, NULL,
SHELL_TYPE_WM,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_SETTINGS] =
- g_param_spec_object ("settings",
- "Settings",
- "GSettings instance for gnome-shell configuration",
+ g_param_spec_object ("settings", NULL, NULL,
G_TYPE_SETTINGS,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_DATADIR] =
- g_param_spec_string ("datadir",
- "Data directory",
- "Directory containing gnome-shell data files",
+ g_param_spec_string ("datadir", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_IMAGEDIR] =
- g_param_spec_string ("imagedir",
- "Image directory",
- "Directory containing gnome-shell image files",
+ g_param_spec_string ("imagedir", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_USERDATADIR] =
- g_param_spec_string ("userdatadir",
- "User data directory",
- "Directory containing gnome-shell user data",
+ g_param_spec_string ("userdatadir", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_FOCUS_MANAGER] =
- g_param_spec_object ("focus-manager",
- "Focus manager",
- "The shell's StFocusManager",
+ g_param_spec_object ("focus-manager", NULL, NULL,
ST_TYPE_FOCUS_MANAGER,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_FRAME_TIMESTAMPS] =
- g_param_spec_boolean ("frame-timestamps",
- "Frame Timestamps",
- "Whether to log frame timestamps in the performance log",
+ g_param_spec_boolean ("frame-timestamps", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
props[PROP_FRAME_FINISH_TIMESTAMP] =
- g_param_spec_boolean ("frame-finish-timestamp",
- "Frame Finish Timestamps",
- "Whether at the end of a frame to call glFinish and log paintCompletedTimestamp",
+ g_param_spec_boolean ("frame-finish-timestamp", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
props[PROP_SWITCHEROO_CONTROL] =
- g_param_spec_object ("switcheroo-control",
- "switcheroo-control",
- "D-Bus Proxy for switcheroo-control daemon",
+ g_param_spec_object ("switcheroo-control", NULL, NULL,
G_TYPE_DBUS_PROXY,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
props[PROP_FORCE_ANIMATIONS] =
- g_param_spec_boolean ("force-animations",
- "force-animations",
- "Force animations to be enabled",
+ g_param_spec_boolean ("force-animations", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT| G_PARAM_STATIC_STRINGS);
props[PROP_AUTOMATION_SCRIPT] =
- g_param_spec_object ("automation-script",
- "automation-script",
- "Automation script to run after startup",
+ g_param_spec_object ("automation-script", NULL, NULL,
G_TYPE_FILE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
* Whether the password entry is visible or not.
*/
props[PROP_PASSWORD_VISIBLE] =
- g_param_spec_boolean ("password-visible",
- "Password visible",
- "Password field is visible",
+ g_param_spec_boolean ("password-visible", NULL, NULL,
FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* Whether the password confirm entry is visible or not.
*/
props[PROP_CONFIRM_VISIBLE] =
- g_param_spec_boolean ("confirm-visible",
- "Confirm visible",
- "Confirm field is visible",
+ g_param_spec_boolean ("confirm-visible", NULL, NULL,
FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* Whether the warning label is visible or not.
*/
props[PROP_WARNING_VISIBLE] =
- g_param_spec_boolean ("warning-visible",
- "Warning visible",
- "Warning is visible",
+ g_param_spec_boolean ("warning-visible", NULL, NULL,
FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* Whether the choice check box is visible or not.
*/
props[PROP_CHOICE_VISIBLE] =
- g_param_spec_boolean ("choice-visible",
- "Choice visible",
- "Choice is visible",
+ g_param_spec_boolean ("choice-visible", NULL, NULL,
FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* Text field for password
*/
props[PROP_PASSWORD_ACTOR] =
- g_param_spec_object ("password-actor",
- "Password actor",
- "Text field for password",
+ g_param_spec_object ("password-actor", NULL, NULL,
CLUTTER_TYPE_TEXT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
* Text field for confirmation password
*/
props[PROP_CONFIRM_ACTOR] =
- g_param_spec_object ("confirm-actor",
- "Confirm actor",
- "Text field for confirming password",
+ g_param_spec_object ("confirm-actor", NULL, NULL,
CLUTTER_TYPE_TEXT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_property (object_class,
PROP_PID,
- g_param_spec_uint ("pid",
- "PID",
- "The PID of the icon's application",
+ g_param_spec_uint ("pid", NULL, NULL,
0, G_MAXUINT, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_TITLE,
- g_param_spec_string ("title",
- "Title",
- "The icon's window title",
+ g_param_spec_string ("title", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_WM_CLASS,
- g_param_spec_string ("wm-class",
- "WM Class",
- "The icon's window WM_CLASS",
+ g_param_spec_string ("wm-class", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
}
*/
g_object_class_install_property (gobject_class,
PROP_BG_COLOR,
- g_param_spec_boxed ("bg-color",
- "BG Color",
- "Background color (only if we don't have transparency)",
+ g_param_spec_boxed ("bg-color", NULL, NULL,
COGL_TYPE_COLOR,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
* ShellWindowPreviewLayout:bounding-box:
*/
obj_props[PROP_BOUNDING_BOX] =
- g_param_spec_boxed ("bounding-box",
- "Bounding Box",
- "Bounding Box",
+ g_param_spec_boxed ("bounding-box", NULL, NULL,
CLUTTER_TYPE_ACTOR_BOX,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS);
* ShellWindowPreview:window-container:
*/
obj_props[PROP_WINDOW_CONTAINER] =
- g_param_spec_object ("window-container",
- "window-container",
- "window-container",
+ g_param_spec_object ("window-container", NULL, NULL,
CLUTTER_TYPE_ACTOR,
G_PARAM_READWRITE |
G_PARAM_EXPLICIT_NOTIFY |
gobject_class->finalize = shell_window_tracker_finalize;
props[PROP_FOCUS_APP] =
- g_param_spec_object ("focus-app",
- "Focus App",
- "Focused application",
+ g_param_spec_object ("focus-app", NULL, NULL,
SHELL_TYPE_APP,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
* ShellWorkspaceBackground:monitor-index:
*/
obj_props[PROP_MONITOR_INDEX] =
- g_param_spec_int ("monitor-index", "", "",
+ g_param_spec_int ("monitor-index", NULL, NULL,
0, G_MAXINT, 0,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
* ShellWorkspaceBackground:state-adjustment-value:
*/
obj_props[PROP_STATE_ADJUSTMENT_VALUE] =
- g_param_spec_double ("state-adjustment-value", "", "",
+ g_param_spec_double ("state-adjustment-value", NULL, NULL,
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS |
* monitor should drive the animation.
*/
props[PROP_ACTOR] =
- g_param_spec_object ("actor", "Actor", "Actor",
+ g_param_spec_object ("actor", NULL, NULL,
CLUTTER_TYPE_ACTOR,
ST_PARAM_READWRITE |
G_PARAM_EXPLICIT_NOTIFY);
* The minimum value of the adjustment.
*/
props[PROP_LOWER] =
- g_param_spec_double ("lower", "Lower", "Lower bound",
+ g_param_spec_double ("lower", NULL, NULL,
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
ST_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
* #StAdjustment:page-size is non-zero.
*/
props[PROP_UPPER] =
- g_param_spec_double ("upper", "Upper", "Upper bound",
+ g_param_spec_double ("upper", NULL, NULL,
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
ST_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
* The value of the adjustment.
*/
props[PROP_VALUE] =
- g_param_spec_double ("value", "Value", "Current value",
+ g_param_spec_double ("value", NULL, NULL,
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
ST_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
* The step increment of the adjustment.
*/
props[PROP_STEP_INC] =
- g_param_spec_double ("step-increment", "Step Increment", "Step increment",
+ g_param_spec_double ("step-increment", NULL, NULL,
0.0, G_MAXDOUBLE, 0.0,
ST_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
* The page increment of the adjustment.
*/
props[PROP_PAGE_INC] =
- g_param_spec_double ("page-increment", "Page Increment", "Page increment",
+ g_param_spec_double ("page-increment", NULL, NULL,
0.0, G_MAXDOUBLE, 0.0,
ST_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
* adjustment is used for a simple scalar value.
*/
props[PROP_PAGE_SIZE] =
- g_param_spec_double ("page-size", "Page Size", "Page size",
+ g_param_spec_double ("page-size", NULL, NULL,
0.0, G_MAXDOUBLE, 0.0,
ST_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
* The child #ClutterActor of the #StBin container.
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- "Child",
- "The child of the Bin",
+ g_param_spec_object ("child", NULL, NULL,
CLUTTER_TYPE_ACTOR,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* internal layout for #StBoxLayout.
*/
props[PROP_VERTICAL] =
- g_param_spec_boolean ("vertical",
- "Vertical",
- "Whether the layout should be vertical, rather"
- "than horizontal",
+ g_param_spec_boolean ("vertical", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* internal layout for #StBoxLayout.
*/
props[PROP_PACK_START] =
- g_param_spec_boolean ("pack-start",
- "Pack Start",
- "Whether to pack items at the start of the box",
+ g_param_spec_boolean ("pack-start", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_DEPRECATED);
* The label of the #StButton.
*/
props[PROP_LABEL] =
- g_param_spec_string ("label",
- "Label",
- "Label of the button",
+ g_param_spec_string ("label", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The icon name of the #StButton.
*/
props[PROP_ICON_NAME] =
- g_param_spec_string ("icon-name",
- "Icon name",
- "Icon name of the button",
+ g_param_spec_string ("icon-name", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Which buttons will trigger the #StButton::clicked signal.
*/
props[PROP_BUTTON_MASK] =
- g_param_spec_flags ("button-mask",
- "Button mask",
- "Which buttons trigger the 'clicked' signal",
+ g_param_spec_flags ("button-mask", NULL, NULL,
ST_TYPE_BUTTON_MASK, ST_BUTTON_ONE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether the #StButton is operating in toggle mode (on/off).
*/
props[PROP_TOGGLE_MODE] =
- g_param_spec_boolean ("toggle-mode",
- "Toggle Mode",
- "Enable or disable toggling",
+ g_param_spec_boolean ("toggle-mode", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* pseudo-class set.
*/
props[PROP_CHECKED] =
- g_param_spec_boolean ("checked",
- "Checked",
- "Indicates if a toggle button is \"on\" or \"off\"",
+ g_param_spec_boolean ("checked", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* #StButton is being actively pressed, rather than just in the "on" state.
*/
props[PROP_PRESSED] =
- g_param_spec_boolean ("pressed",
- "Pressed",
- "Indicates if the button is pressed in",
+ g_param_spec_boolean ("pressed", NULL, NULL,
FALSE,
ST_PARAM_READABLE);
* The internal #ClutterText actor supporting the #StEntry.
*/
props[PROP_CLUTTER_TEXT] =
- g_param_spec_object ("clutter-text",
- "Clutter Text",
- "Internal ClutterText actor",
+ g_param_spec_object ("clutter-text", NULL, NULL,
CLUTTER_TYPE_TEXT,
ST_PARAM_READABLE);
* The #ClutterActor acting as the primary icon at the start of the #StEntry.
*/
props[PROP_PRIMARY_ICON] =
- g_param_spec_object ("primary-icon",
- "Primary Icon",
- "Primary Icon actor",
+ g_param_spec_object ("primary-icon", NULL, NULL,
CLUTTER_TYPE_ACTOR,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The #ClutterActor acting as the secondary icon at the end of the #StEntry.
*/
props[PROP_SECONDARY_ICON] =
- g_param_spec_object ("secondary-icon",
- "Secondary Icon",
- "Secondary Icon actor",
+ g_param_spec_object ("secondary-icon", NULL, NULL,
CLUTTER_TYPE_ACTOR,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* will replace the actor of #StEntry::hint-actor.
*/
props[PROP_HINT_TEXT] =
- g_param_spec_string ("hint-text",
- "Hint Text",
- "Text to display when the entry is not focused "
- "and the text property is empty",
+ g_param_spec_string ("hint-text", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* this will replace the actor displaying #StEntry:hint-text.
*/
props[PROP_HINT_ACTOR] =
- g_param_spec_object ("hint-actor",
- "Hint Actor",
- "An actor to display when the entry is not focused "
- "and the text property is empty",
+ g_param_spec_object ("hint-actor", NULL, NULL,
CLUTTER_TYPE_ACTOR,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The current text value of the #StEntry.
*/
props[PROP_TEXT] =
- g_param_spec_string ("text",
- "Text",
- "Text of the entry",
+ g_param_spec_string ("text", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* input methods to decide which keys should be presented to the user.
*/
props[PROP_INPUT_PURPOSE] =
- g_param_spec_enum ("input-purpose",
- "Purpose",
- "Purpose of the text field",
+ g_param_spec_enum ("input-purpose", NULL, NULL,
CLUTTER_TYPE_INPUT_CONTENT_PURPOSE,
CLUTTER_INPUT_CONTENT_PURPOSE_NORMAL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* behaviour.
*/
props[PROP_INPUT_HINTS] =
- g_param_spec_flags ("input-hints",
- "hints",
- "Hints for the text field behaviour",
+ g_param_spec_flags ("input-hints", NULL, NULL,
CLUTTER_TYPE_INPUT_CONTENT_HINT_FLAGS,
0,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The #GIcon being displayed by this #StIcon.
*/
props[PROP_GICON] =
- g_param_spec_object ("gicon",
- "GIcon",
- "The GIcon shown by this icon actor",
+ g_param_spec_object ("gicon", NULL, NULL,
G_TYPE_ICON,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The fallback #GIcon to display if #StIcon:gicon fails to load.
*/
props[PROP_FALLBACK_GICON] =
- g_param_spec_object ("fallback-gicon",
- "Fallback GIcon",
- "The fallback GIcon shown if the normal icon fails to load",
+ g_param_spec_object ("fallback-gicon", NULL, NULL,
G_TYPE_ICON,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The name of the icon if the icon being displayed is a #GThemedIcon.
*/
props[PROP_ICON_NAME] =
- g_param_spec_string ("icon-name",
- "Icon name",
- "An icon name",
+ g_param_spec_string ("icon-name", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* from the current style.
*/
props[PROP_ICON_SIZE] =
- g_param_spec_int ("icon-size",
- "Icon size",
- "The size if the icon, if positive. Otherwise the size will be derived from the current style",
+ g_param_spec_int ("icon-size", NULL, NULL,
-1, G_MAXINT, -1,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* for details.
*/
props[PROP_FALLBACK_ICON_NAME] =
- g_param_spec_string ("fallback-icon-name",
- "Fallback icon name",
- "A fallback icon name",
+ g_param_spec_string ("fallback-icon-name", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether the #StIcon is symbolic.
*/
props[PROP_IS_SYMBOLIC] =
- g_param_spec_boolean ("is-symbolic",
- "Is Symbolic",
- "Whether the icon is symbolic",
+ g_param_spec_boolean ("is-symbolic", NULL, NULL,
FALSE,
ST_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
object_class->get_property = st_image_content_get_property;
object_class->set_property = st_image_content_set_property;
- pspec = g_param_spec_int ("preferred-width",
- "Preferred Width",
- "Preferred Width of the Content when painted",
+ pspec = g_param_spec_int ("preferred-width", NULL, NULL,
-1, G_MAXINT, -1,
G_PARAM_CONSTRUCT_ONLY | ST_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_PREFERRED_WIDTH, pspec);
- pspec = g_param_spec_int ("preferred-height",
- "Preferred Height",
- "Preferred Height of the Content when painted",
+ pspec = g_param_spec_int ("preferred-height", NULL, NULL,
-1, G_MAXINT, -1,
G_PARAM_CONSTRUCT_ONLY | ST_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_PREFERRED_HEIGHT, pspec);
* The internal #ClutterText actor supporting the label
*/
props[PROP_CLUTTER_TEXT] =
- g_param_spec_object ("clutter-text",
- "Clutter Text",
- "Internal ClutterText actor",
+ g_param_spec_object ("clutter-text", NULL, NULL,
CLUTTER_TYPE_TEXT,
ST_PARAM_READABLE);
* The current text being display in the #StLabel.
*/
props[PROP_TEXT] =
- g_param_spec_string ("text",
- "Text",
- "Text of the label",
+ g_param_spec_string ("text", NULL, NULL,
NULL,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
*
* Whether the text in the entry is masked for privacy.
*/
- props[PROP_PASSWORD_VISIBLE] = g_param_spec_boolean ("password-visible",
- "Password visible",
- "Whether the text in the entry is masked or not",
+ props[PROP_PASSWORD_VISIBLE] = g_param_spec_boolean ("password-visible", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether to display an icon button to toggle the masking enabled by the
* #StPasswordEntry:password-visible property.
*/
- props[PROP_SHOW_PEEK_ICON] = g_param_spec_boolean ("show-peek-icon",
- "Show peek icon",
- "Whether to show the password peek icon",
+ props[PROP_SHOW_PEEK_ICON] = g_param_spec_boolean ("show-peek-icon", NULL, NULL,
TRUE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The #StAdjustment controlling the #StScrollBar.
*/
props[PROP_ADJUSTMENT] =
- g_param_spec_object ("adjustment", "Adjustment", "The adjustment",
+ g_param_spec_object ("adjustment", NULL, NULL,
ST_TYPE_ADJUSTMENT,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether the #StScrollBar is vertical. If %FALSE it is horizontal.
*/
props[PROP_VERTICAL] =
- g_param_spec_boolean ("vertical",
- "Vertical Orientation",
- "Vertical Orientation",
+ g_param_spec_boolean ("vertical", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The margins widths that are faded.
*/
props[PROP_FADE_MARGINS] =
- g_param_spec_boxed ("fade-margins",
- "Fade margins",
- "The margin widths that are faded",
+ g_param_spec_boxed ("fade-margins", NULL, NULL,
CLUTTER_TYPE_MARGIN,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether the faded area should extend to the edges of the #StScrollViewFade.
*/
props[PROP_FADE_EDGES] =
- g_param_spec_boolean ("fade-edges",
- "Fade Edges",
- "Whether the faded area should extend to the edges",
+ g_param_spec_boolean ("fade-edges", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether faded edges should extend beyond the faded area of the #StScrollViewFade.
*/
props[PROP_EXTEND_FADE_AREA] =
- g_param_spec_boolean ("extend-fade-area",
- "Extend Fade Area",
- "Whether faded edges should extend beyond the faded area",
+ g_param_spec_boolean ("extend-fade-area", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The horizontal #StScrollBar for the #StScrollView.
*/
props[PROP_HSCROLL] =
- g_param_spec_object ("hscroll",
- "StScrollBar",
- "Horizontal scroll indicator",
+ g_param_spec_object ("hscroll", NULL, NULL,
ST_TYPE_SCROLL_BAR,
ST_PARAM_READABLE | G_PARAM_DEPRECATED);
* The vertical #StScrollBar for the #StScrollView.
*/
props[PROP_VSCROLL] =
- g_param_spec_object ("vscroll",
- "StScrollBar",
- "Vertical scroll indicator",
+ g_param_spec_object ("vscroll", NULL, NULL,
ST_TYPE_SCROLL_BAR,
ST_PARAM_READABLE | G_PARAM_DEPRECATED);
* The horizontal #StAdjustment for the #StScrollView.
*/
props[PROP_HADJUSTMENT] =
- g_param_spec_object ("hadjustment",
- "StAdjustment",
- "Horizontal scroll adjustment",
+ g_param_spec_object ("hadjustment", NULL, NULL,
ST_TYPE_ADJUSTMENT,
ST_PARAM_READABLE);
* The vertical #StAdjustment for the #StScrollView.
*/
props[PROP_VADJUSTMENT] =
- g_param_spec_object ("vadjustment",
- "StAdjustment",
- "Vertical scroll adjustment",
+ g_param_spec_object ("vadjustment", NULL, NULL,
ST_TYPE_ADJUSTMENT,
ST_PARAM_READABLE);
* The #StPolicyType for when to show the vertical #StScrollBar.
*/
props[PROP_VSCROLLBAR_POLICY] =
- g_param_spec_enum ("vscrollbar-policy",
- "Vertical Scrollbar Policy",
- "When the vertical scrollbar is displayed",
+ g_param_spec_enum ("vscrollbar-policy", NULL, NULL,
ST_TYPE_POLICY_TYPE,
ST_POLICY_AUTOMATIC,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The #StPolicyType for when to show the horizontal #StScrollBar.
*/
props[PROP_HSCROLLBAR_POLICY] =
- g_param_spec_enum ("hscrollbar-policy",
- "Horizontal Scrollbar Policy",
- "When the horizontal scrollbar is displayed",
+ g_param_spec_enum ("hscrollbar-policy", NULL, NULL,
ST_TYPE_POLICY_TYPE,
ST_POLICY_NEVER,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether the horizontal #StScrollBar is visible.
*/
props[PROP_HSCROLLBAR_VISIBLE] =
- g_param_spec_boolean ("hscrollbar-visible",
- "Horizontal Scrollbar Visibility",
- "Whether the horizontal scrollbar is visible",
+ g_param_spec_boolean ("hscrollbar-visible", NULL, NULL,
TRUE,
ST_PARAM_READABLE);
* Whether the vertical #StScrollBar is visible.
*/
props[PROP_VSCROLLBAR_VISIBLE] =
- g_param_spec_boolean ("vscrollbar-visible",
- "Vertical Scrollbar Visibility",
- "Whether the vertical scrollbar is visible",
+ g_param_spec_boolean ("vscrollbar-visible", NULL, NULL,
TRUE,
ST_PARAM_READABLE);
* Whether to enable automatic mouse wheel scrolling.
*/
props[PROP_MOUSE_SCROLL] =
- g_param_spec_boolean ("enable-mouse-scrolling",
- "Enable Mouse Scrolling",
- "Enable automatic mouse wheel scrolling",
+ g_param_spec_boolean ("enable-mouse-scrolling", NULL, NULL,
TRUE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether scrollbars are painted on top of the content.
*/
props[PROP_OVERLAY_SCROLLBARS] =
- g_param_spec_boolean ("overlay-scrollbars",
- "Use Overlay Scrollbars",
- "Overlay scrollbars over the content",
+ g_param_spec_boolean ("overlay-scrollbars", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* ]|
*/
g_object_interface_install_property (g_iface,
- g_param_spec_object ("hadjustment",
- "StAdjustment",
- "Horizontal adjustment",
+ g_param_spec_object ("hadjustment", NULL, NULL,
ST_TYPE_ADJUSTMENT,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
* property in JavaScript code.
*/
g_object_interface_install_property (g_iface,
- g_param_spec_object ("vadjustment",
- "StAdjustment",
- "Vertical adjustment",
+ g_param_spec_object ("vadjustment", NULL, NULL,
ST_TYPE_ADJUSTMENT,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
*
* Whether animations are enabled.
*/
- props[PROP_ENABLE_ANIMATIONS] = g_param_spec_boolean ("enable-animations",
- "Enable animations",
- "Enable animations",
+ props[PROP_ENABLE_ANIMATIONS] = g_param_spec_boolean ("enable-animations", NULL, NULL,
TRUE,
ST_PARAM_READABLE);
* Whether pasting from the `PRIMARY` selection is supported (eg. middle-click
* paste).
*/
- props[PROP_PRIMARY_PASTE] = g_param_spec_boolean ("primary-paste",
- "Primary paste",
- "Primary paste",
+ props[PROP_PRIMARY_PASTE] = g_param_spec_boolean ("primary-paste", NULL, NULL,
TRUE,
ST_PARAM_READABLE);
*
* The threshold before a drag operation begins.
*/
- props[PROP_DRAG_THRESHOLD] = g_param_spec_int ("drag-threshold",
- "Drag threshold",
- "Drag threshold",
+ props[PROP_DRAG_THRESHOLD] = g_param_spec_int ("drag-threshold", NULL, NULL,
0, G_MAXINT, 8,
ST_PARAM_READABLE);
*
* The current font name.
*/
- props[PROP_FONT_NAME] = g_param_spec_string ("font-name",
- "font name",
- "font name",
+ props[PROP_FONT_NAME] = g_param_spec_string ("font-name", NULL, NULL,
"",
ST_PARAM_READABLE);
*
* Whether the accessibility high contrast mode is enabled.
*/
- props[PROP_HIGH_CONTRAST] = g_param_spec_boolean ("high-contrast",
- "High contrast",
- "High contrast",
+ props[PROP_HIGH_CONTRAST] = g_param_spec_boolean ("high-contrast", NULL, NULL,
FALSE,
ST_PARAM_READABLE);
*
* The current GTK icon theme
*/
- props[PROP_GTK_ICON_THEME] = g_param_spec_string ("gtk-icon-theme",
- "GTK Icon Theme",
- "GTK Icon Theme",
+ props[PROP_GTK_ICON_THEME] = g_param_spec_string ("gtk-icon-theme", NULL, NULL,
"",
ST_PARAM_READABLE);
*
* The preferred color-scheme
*/
- props[PROP_COLOR_SCHEME] = g_param_spec_enum ("color-scheme",
- "Color scheme",
- "Color scheme",
+ props[PROP_COLOR_SCHEME] = g_param_spec_enum ("color-scheme", NULL, NULL,
ST_TYPE_SYSTEM_COLOR_SCHEME,
ST_SYSTEM_COLOR_SCHEME_DEFAULT,
ST_PARAM_READABLE);
*
* The current accent color.
*/
- props[PROP_ACCENT_COLOR] = g_param_spec_enum ("accent-color",
- "accent color",
- "accent color",
+ props[PROP_ACCENT_COLOR] = g_param_spec_enum ("accent-color", NULL, NULL,
ST_TYPE_SYSTEM_ACCENT_COLOR,
ST_SYSTEM_ACCENT_COLOR_BLUE,
ST_PARAM_READABLE);
*
* Whether the accessibility magnifier is active.
*/
- props[PROP_MAGNIFIER_ACTIVE] = g_param_spec_boolean("magnifier-active",
- "Magnifier is active",
- "Whether the a11y magnifier is active",
+ props[PROP_MAGNIFIER_ACTIVE] = g_param_spec_boolean("magnifier-active", NULL, NULL,
FALSE,
ST_PARAM_READABLE);
*
* The slow-down factor applied to all animation durations.
*/
- props[PROP_SLOW_DOWN_FACTOR] = g_param_spec_double("slow-down-factor",
- "Slow down factor",
- "Factor applied to all animation durations",
+ props[PROP_SLOW_DOWN_FACTOR] = g_param_spec_double("slow-down-factor", NULL, NULL,
EPSILON, G_MAXDOUBLE, 1.0,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
*
* Whether password showing can be locked down
*/
- props[PROP_DISABLE_SHOW_PASSWORD] = g_param_spec_boolean("disable-show-password",
- "'Show Password' is disabled",
- "Whether user can request to see their password",
+ props[PROP_DISABLE_SHOW_PASSWORD] = g_param_spec_boolean("disable-show-password", NULL, NULL,
FALSE,
ST_PARAM_READABLE);
* The scaling factor used for HiDPI scaling.
*/
props[PROP_SCALE_FACTOR] =
- g_param_spec_int ("scale-factor",
- "Scale factor",
- "Integer scale factor used for HiDPI scaling",
+ g_param_spec_int ("scale-factor", NULL, NULL,
0, G_MAXINT, 1,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
*/
g_object_class_install_property (object_class,
PROP_APPLICATION_STYLESHEET,
- g_param_spec_object ("application-stylesheet",
- "Application Stylesheet",
- "Stylesheet with application-specific styling",
+ g_param_spec_object ("application-stylesheet", NULL, NULL,
G_TYPE_FILE,
ST_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
*/
g_object_class_install_property (object_class,
PROP_THEME_STYLESHEET,
- g_param_spec_object ("theme-stylesheet",
- "Theme Stylesheet",
- "Stylesheet with theme-specific styling",
+ g_param_spec_object ("theme-stylesheet", NULL, NULL,
G_TYPE_FILE,
ST_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
*/
g_object_class_install_property (object_class,
PROP_DEFAULT_STYLESHEET,
- g_param_spec_object ("default-stylesheet",
- "Default Stylesheet",
- "Stylesheet with global default styling",
+ g_param_spec_object ("default-stylesheet", NULL, NULL,
G_TYPE_FILE,
ST_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
actor_class->pick = st_viewport_pick;
props[PROP_CLIP_TO_VIEW] =
- g_param_spec_boolean ("clip-to-view",
- "Clip to view",
- "Clip to view",
+ g_param_spec_boolean ("clip-to-view", NULL, NULL,
TRUE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* "focus".
*/
props[PROP_PSEUDO_CLASS] =
- g_param_spec_string ("pseudo-class",
- "Pseudo Class",
- "Pseudo class for styling",
+ g_param_spec_string ("pseudo-class", NULL, NULL,
"",
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* The style-class of the actor for use in styling.
*/
props[PROP_STYLE_CLASS] =
- g_param_spec_string ("style-class",
- "Style Class",
- "Style class for styling",
+ g_param_spec_string ("style-class", NULL, NULL,
"",
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* CSS properties.
*/
props[PROP_STYLE] =
- g_param_spec_string ("style",
- "Style",
- "Inline style string",
+ g_param_spec_string ("style", NULL, NULL,
"",
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* widget.
*/
props[PROP_TRACK_HOVER] =
- g_param_spec_boolean ("track-hover",
- "Track hover",
- "Determines whether the widget tracks hover state",
+ g_param_spec_boolean ("track-hover", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* adjust it manually in any case.
*/
props[PROP_HOVER] =
- g_param_spec_boolean ("hover",
- "Hover",
- "Whether the pointer is hovering over the widget",
+ g_param_spec_boolean ("hover", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* Whether or not the widget can be focused via keyboard navigation.
*/
props[PROP_CAN_FOCUS] =
- g_param_spec_boolean ("can-focus",
- "Can focus",
- "Whether the widget can be focused via keyboard navigation",
+ g_param_spec_boolean ("can-focus", NULL, NULL,
FALSE,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
* An actor that labels this widget.
*/
props[PROP_LABEL_ACTOR] =
- g_param_spec_object ("label-actor",
- "Label",
- "Label that identifies this widget",
+ g_param_spec_object ("label-actor", NULL, NULL,
CLUTTER_TYPE_ACTOR,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
G_TYPE_NONE, 0);
props[PROP_X11_DISPLAY] =
- g_param_spec_object ("x11-display",
- "x11-display",
- "x11-display",
+ g_param_spec_object ("x11-display", NULL, NULL,
META_TYPE_X11_DISPLAY,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY);
G_TYPE_NONE, 0);
props[PROP_X11_DISPLAY] =
- g_param_spec_object ("x11-display",
- "x11-display",
- "x11-display",
+ g_param_spec_object ("x11-display", NULL, NULL,
META_TYPE_X11_DISPLAY,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class,
PROP_DISPLAY,
- g_param_spec_object ("display",
- "GdkDisplay",
- "The GdkDisplay instance",
+ g_param_spec_object ("display", NULL, NULL,
GDK_TYPE_DISPLAY,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
g_object_class_install_property (object_class,
PROP_WINDOW,
- g_param_spec_object ("window",
- "GtkWindow",
- "The GtkWindow to export",
+ g_param_spec_object ("window", NULL, NULL,
GTK_TYPE_WINDOW,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
class GObject1 extends GObject.Object {
static [GObject.properties] = {
'plonked': GObject.ParamSpec.boolean(
- 'plonked', '', '',
+ 'plonked', null, null,
GObject.ParamFlags.READWRITE,
false),
};